package com.situ.library.service;

import com.situ.library.pojo.entity.Card;
import com.situ.library.pojo.query.CardQuery;
import com.situ.library.util.PageInfo;

import java.util.List;

public interface ICardService {

    PageInfo selectByPage(CardQuery cardQuery);

    void deleteById(int id);

    void deleteAll(String[] ids);

    void add(Card card);

    void update(Card card);

    Card selectById(int id);

    List<Card> selectAll();

    void updateStatus(int id, int status);
}
